//
//  shader.hpp
//  RPG
//
//  Created by Matt Bailey on 14/03/2014.
//  Copyright (c) 2014 Matt Bailey. All rights reserved.
//

#pragma once

#include "GL/glew.h"

#include <iostream>
#include <fstream>
#include <vector>
#include <string>

using namespace std;

class Shader {
 
    string vertexPath;
    string fragmentPath;
    
    void loadShaders();
    
    GLuint programID;
    GLuint matrixID;
    GLuint textureID;
    
    public:
        Shader() { };
    
        void init(string _vertex, string _fragment);
    
        GLuint getProgramID() { return programID; }
        GLuint getMatrixID() { return matrixID; }
        GLuint getTextureID() { return textureID; }
};
